#include "Ticker.hpp"

Ticker*    Ticker::m_instance = 0;

Ticker* Ticker::GetInstance()
{
	if( !m_instance )
	{
		m_instance = new Ticker;
	}

	return m_instance;
}

clock_t Ticker::GetTick() const
{
	return clock();
}

Ticker::Ticker()
{
	m_startTick = clock();
}